<!--
/**
 * Copyright © 2016 Magento. All rights reserved.
 * See COPYING.txt for license details.
 */
-->
<div class="data-grid-info-panel" visible="isMultiEditing || (hasActive() && (hasMessages() || hasErrors() ))">
    <div class="messages" visible="hasMessages() || hasErrors()">
        <div class="message message-warning" visible="hasErrors()">
            <strong>There are <text args="countErrors()"/> messages requires your attention.</strong>
            Please make corrections to the errors in the table below and re-submit.
        </div>
        <div class="message" outereach="messages" text="message"
            css="
                'message-warning': type === 'warning',
                'message-error': type === 'error',
                'message-success': type === 'success'"/>
    </div>
    <div class="data-grid-info-panel-actions" visible="isMultiEditing && multiEditingButtons">
        <button class="action-tertiary" type="button" click="cancel">
            <span translate="'Cancel'"/>
        </button>
        <button class="action-primary" type="button" click="save" disable="!canSave()">
            <span translate="'Save Edits'"/>
        </button>
    </div>
</div>
